package com.clwl.supervise.superviseapp.entity.pro;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@TableName("jg_pro_dynamic_score_bonus_points_item")
public class JgProDynamicScoreBonusPointsItem implements Serializable{

    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Long dynamicScoreId;

    private Long itemId;

    /** 父级Id */
    private Long parentId;

    /** 序号 */
    private Long serialNumber;

    /** 加分项名称 */
    private String itemName;

    /** 风险分值 */
    private double itemScore;

    /** 是否选中（0 否 1 是） */
    private String checked;

    @TableField(exist = false)
    private List<JgProDynamicScoreBonusPointsItem> childrenList;
}
